<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="style.css" rel="stylesheet" type="text/css">
<link href="inside.css" rel="stylesheet" type="text/css">
<link href="member.css" rel="stylesheet" type="text/css">
<meta name="description" content="<{$site_desc}>" />
<script src="js/jquery-1.3.2.min.js" type="text/javascript"></script>
<title>買房子</title>
<SCRIPT>
function senfe(ImgId){
	var l=event.clientX + document.body.scrollLeft-120;
	var t=event.clientY + document.body.scrollTop-100;
	document.getElementById(ImgId).style.left=l + "px";
	document.getElementById(ImgId).style.top=t + "px";
	document.getElementById(ImgId).style.display="block";
}
function none(ImgId){
	document.getElementById(ImgId).style.display="none";
}
</SCRIPT>
<script Language="JavaScript">
function selects() 
{		
	var pro = document.form1.pro.value;
	$.ajax(
		{
			type: "GET",
			url: "selecthome.php",
			data: "id="+pro,
			success: function(msg)
			{ 
			 $("#test1").html(msg);;
			}
		}
	);
}
</script>
</head>

<body>
<div id="container">
<!--header-->
<{include file="./header.html"}>   
<!--header-->

<!--menu-->
<{include file="./menu.html"}> 
<!--menu-->

<div class="main2">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td valign="top" style="padding-top:50px">
    	<table border="0" cellpadding="0" cellspacing="0" bgcolor="#E1F9BB">
          <form name="form1" method="post" action="rookery.php">
                <tbody>
                  <tr>
                     <td width="15" height="30">&nbsp;</td>
                    <td>&nbsp;</td>
                    <td style="font-size:18px;"><b>出售搜尋</b></td>
                  </tr>
                  <tr>
                  <td height="22"></td>
                    <td align="right"> 縣 &nbsp;市： </td>
                    <td>
                        <select name="pro" size="1" style="width:120px;"  onChange="selects()">
                          <option value="">縣市</option>
                          <{section name=key loop=$row4 start=0 max=100 step=1}>
                             <option value="<{$row4[key].cate_id}>"><{$row4[key].zh_cate_title}></option>
                           <{/section}>
                        </select>            </td>
                  </tr>
                  <tr>
                  <td height="22">&nbsp;</td>
                    <td align="right"> 區 &nbsp;域： </td>
                    <td>
                     <span id="test1">
                      <select name="city" style="width:120px;">
                       <option value="">鄉鎮</option>
                      </select>  
                     </span> 
                      </td>
                  </tr>
                  <tr>
                  <td height="22">&nbsp;</td>
                    <td align="right">物件類型： </td>
                    <td> <select name="type" style="width:120px;">
                            <option value="">物件類型</option>                  
                           <{$typeaa}>
                      </select></td>
                  </tr>
                  <tr>
                    <td height="22" align="right">&nbsp;</td>
                    <td height="35" colspan="2" valign="bottom">價格範圍： </td>
                  </tr>
                  <tr>
                    <td height="66" colspan="3" align="left" style="padding-left:10px" >
                        <div style="width:220;" >
                          <p>
                            <input type="radio" name="radiobutton" value="radiobutton">價格不限
                            <input type="radio" name="radiobutton" value="radiobutton">5000元
                            <input type="radio" name="radiobutton" value="radiobutton">5000-8000元<br>
                            <input type="radio" name="radiobutton" value="radiobutton">8000-12000元
                            &nbsp;&nbsp;<input type="radio" name="radiobutton" value="radiobutton">12000-15000元<br>
                            <input type="radio" name="radiobutton" value="radiobutton">12000-20000元
                            <input type="radio" name="radiobutton" value="radiobutton">20000-30000元<br>
                            <input type="radio" name="radiobutton" value="radiobutton">30000-50000元
                            <input type="radio" name="radiobutton" value="radiobutton">50000元以上 </p>
                    </div>			</td>
                  </tr>
                  <tr>
                    <td height="67" colspan="3" align="center">
                    <table border="0" cellspacing="1" cellpadding="0" bgcolor="#818C4A" id="sousuo">
                      <tr>
                        <td width="63" height="22" align="center" bgcolor="#BBC681">房屋編號： </td>
                        <td width="93" align="center" bgcolor="#DDE7A8">
                          <input type="text" name="num" style="width:90px; height:20px; border:1px solid #818C4A;"></td>
                        <td width="37" align="center" bgcolor="#DDE7A8"><input type="submit" name="Submit" value=" " style="width:37px; height:17px; border:none; background:url(images/submit_1.gif)"></td>
                      </tr>
                      <tr>
                        <td height="22" align="center" bgcolor="#BBC681"> 地址路名：</td>
                        <td align="center" bgcolor="#DDE7A8"><input type="text" name="address" style="width:90px; height:20px; border:1px solid #818C4A;"></td>
                        <td align="center" bgcolor="#DDE7A8"><input type="submit" name="Submit2" value=" " style="width:37px; height:17px; border:none; background:url(images/submit_1.gif)"></td>
                      </tr>
                    </table></td>
                  </tr>
                </tbody></form>
            </table>
    </td>
    <td><TABLE  cellSpacing=0 cellPadding=0 border=0>
            <TBODY>
            <TR>
              <TD height=50 align=middle>
                <DIV style="FONT-SIZE: 14px; color:#4E7603" >房屋出售訊息</DIV></TD>
            </TR>
            <TR>
              <TD align=middle>
                <TABLE cellSpacing=1 cellPadding=0 width=720 bgColor=#a1a1a1  border=0>
      
                  <TBODY>
                  <TR vAlign=center align=middle bgColor=#dddddd>
                    <TD height=25 align="center" width="15%">類別</TD>
                    <TD align="center" width="15%">地區</TD>
                    <TD align="center" width="25%">地址</TD>
                    <TD align="center" width="15%">格局</TD>
                    <TD align="center" width="7%">坪數</TD>
                    <TD align="center" width="7%">金額</TD>
                    <TD align="center" width="5%">相片</TD>
                    <TD align="center" width="11%">登入時間</TD>
                  </TR>
                  
        <{section name=key loop=$row1 start=0 max=18 step=1}> 
                                
                  <TR onMouseOver="mOvr(this,'#ffe7ce');" onMouseOut="mOut(this,'#f0f0f0');" vAlign=center align=middle bgColor="<{$row1[key].color}>">
                    <TD height=21 align="center" class=font><{$row1[key].type}></TD>
                    <TD height=25 align="center"><{$row1[key].cate_name}></TD>
                    <TD class=font>
                    <A href="goods.php?id=<{$row1[key].id}>"><{$row1[key].address}></A></TD>
                    <TD class=font><{$row1[key].layout}></TD>              
                    <TD class=font><{$row1[key].area}></TD>
                    <TD class=font><FONT color=#ff0000><B><{$row1[key].price}></B></FONT></TD>
                    <TD class=font onMouseOver="senfe('<{$row1[key].id}>')" onMouseOut="none('<{$row1[key].id}>')" >
                    <IMG src="images/pic_small.gif" border=0>
                    <IMG id="<{$row1[key].id}>" style="DISPLAY: none; POSITION: absolute;border:2px solid #f4f4f4;" height=100 src="siteadmin/upload/house/<{$row1[key].id}>/<{$row1[key].img}>" 
                     width=120 name="<{$row1[key].id}>"> </TD>
                    <TD class=font><{$row1[key].add_time|truncate:10:true}></TD></TR>
           
         <{/section}>    
                  
                  <TR vAlign=center align=center bgColor=#ffe7ce>
                    <TD height=28 colSpan=9 bgcolor="#ECFDC6" class=font>
                        <{$page_string}>
                    </TD>
                  </TR><tr align="center"></TBODY>
                  </TABLE></TD></TR></TBODY></TABLE></td>
  </tr>
</table>



</div>
<!--foot-->
<{include file="./footer.html"}> 
<!--foot-->
</div>
</body>
</html>
